#include "template.h"
#include <iostream>

using namespace templated;

void CaffeineBeverage::prepareRecipe()
{
    boilWater();
    brew();
    pourInCup();
    addCondiments();
}

void CaffeineBeverage::boilWater()
{
    std::cout << "boil water!" << std::endl;
}

void CaffeineBeverage::pourInCup()
{
    std::cout << "pour in cup!" << std::endl;
}

void Tea::brew()
{
    std::cout << "tea brew!" << std::endl;
}

void Tea::addCondiments()
{
    std::cout << "tea add condiments!" << std::endl;
}

void Coffee::brew()
{
    std::cout << "coffee brew!" << std::endl;
}

void Coffee::addCondiments()
{
    std::cout << "coffee add condiments!" << std::endl;
}

